package guoanmaker.provider.business.service;

import java.util.List;
import java.util.Map;

import guoanmaker.provider.business.model.ProvideRoom;
import guoanmaker.provider.business.modelnobind.ProvideRoomMove;

public interface ProvideRoomServiceInterface {
	
	public ProvideRoom addProvideRoom(ProvideRoom room);
	
	Map<String,Object> selectRoomKeyNameBusinessIdStauts(String businessId,String keyName,Integer roomState,Integer page, Integer size);
	
	int deleteRoomId(String id );
	
	void deleteRoom(String id );
	
	int closeOpenRoom(String id ,Integer roomState);
	
	List<ProvideRoom> selectRoomListStauts(Integer roomState,String businessId);
	
	ProvideRoomMove selectRoomById(String id);
	
	void updateRoomById(ProvideRoom provideRoom);
	
	int createRoomCodes(ProvideRoom room);
}
